<template>
<div class="app">
    <h1>hi..</h1>
    <Person/>
</div>
</template>

<script>
import Person from './components/Person.vue';
//js 或ts
export default {
    name:'App' ,//组件名
    components:{Person}
}
</script>

<style>
 .app{
    background-color: #ddd;
 }
</style>